#ifndef REGISTERFORM_H
#define REGISTERFORM_H

#include <QWidget>
#include <QString>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
#include <QMessageBox>
namespace Ui {
class RegisterForm;
}

class RegisterForm : public QWidget
{
    Q_OBJECT

public:
    explicit RegisterForm(QWidget *parent = 0);
    ~RegisterForm();

    void insert_querydata(const QString &_name, const QString &_password);
private slots:
    void on_pushButton_pressed();

private:
    Ui::RegisterForm *ui;
    QString _name;
    QString _password;
};

#endif // REGISTERFORM_H
